home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-09 / c_base22.zip / CBASE.DOC < prev    next >
Text File  |  1991-01-10  |  60KB  |  1,512 lines

  1.                                                                               i
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.                               The Client Database Program
  18.  
  19.                                   C-BASE for IBM PC 
  20.  
  21.                                      User's Manual
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.                                                                             ii
  58. C-BASE for IBM PC is a database program written by Custom Computing
  59. Solutions.  Many thanks to Borland International for their Turbo Pascal and
  60. Turbo Pascal Database Toolbox.
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.                                   Copyright (c) 1990 
  69.                               Custom Computing Solutions
  70.                                 All rights reserved.  
  71.                                   Printed in Canada.
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106. Custom Computing Solutions
  107. 1122 Millwood Court
  108. Orleans, Ontario
  109. Canada
  110. K1C 3G1
  111. Telephone: (613) 830-3846
  112.  
  113.                                TABLE OF CONTENTS                            iii
  114.  
  115.  
  116.         INTRODUCTION TO C-BASE . . . . . . . . . . . . . . . . . . . . .  1
  117.                 Features of C-BASE. . . . . . . . . . . . . . . . . . . . 1
  118.         GETTING STARTED. . . . . . . . . . . . . . . . . . . . . . . . .  3
  119.                 Installing C-BASE . . . . . . . . . . . . . . . . . . . . 3
  120.                 To Start C-BASE . . . . . . . . . . . . . . . . . . . . . 3
  121.                 Start a new database. . . . . . . . . . . . . . . . . . . 3
  122.                 Start with an existing database . . . . . . . . . . . . . 4
  123.         ADDING RECORDS . . . . . . . . . . . . . . . . . . . . . . . . .  5
  124.                 Add Records . . . . . . . . . . . . . . . . . . . . . . . 5 
  125.                 Store Record. . . . . . . . . . . . . . . . . . . . . . . 6
  126.         LISTING RECORDS. . . . . . . . . . . . . . . . . . . . . . . . .  7             
  127.         Change List:
  128.                 Sort field to Name, RefNo or Date . . . . . . . . . . . . 7
  129.                 Output format to Line, Label(1 or 2) or DefFmt. . . . . . 9
  130.                 Output device to Screen, Printer or File. . . . . . . . . 9
  131.         RESTARTING C-BASE. . . . . . . . . . . . . . . . . . . . . . . . 11
  132.         SCANNING THE DATABASE. . . . . . . . . . . . . . . . . . . . . . 12
  133.                 Find Scan Record(s) . . . . . . . . . . . . . . . . . . .12
  134.                 Scan Database Records . . . . . . . . . . . . . . . . . .14
  135.         ACCESSING THE UTILITY MENU . . . . . . . . . . . . . . . . . . . 16
  136.                 Access Utilities. . . . . . . . . . . . . . . . . . . . .16
  137.                 Add Another Database to Current . . . . . . . . . . . . .16
  138.                 Backup and Compress Current Database. . . . . . . . . . .17
  139.         CUSTOMIZING C-BASE . . . . . . . . . . . . . . . . . . . . . . . 18
  140.                 1 - Change Screen Colors. . . . . . . . . . . . . . . . .18
  141.                 2 - Change Default Program Parameters . . . . . . . . . .19
  142.                 3 - Define a List Format. . . . . . . . . . . . . . . . .20
  143.         DELETING AND RENAMING DATABASES. . . . . . . . . . . . . . . . . 21
  144.                 Delete a Database . . . . . . . . . . . . . . . . . . . .21
  145.                 Rename a Database . . . . . . . . . . . . . . . . . . . .21
  146.         REBUILDING INDEX FILES . . . . . . . . . . . . . . . . . . . . . 22
  147.         SPECIAL SEARCHING. . . . . . . . . . . . . . . . . . . . . . . . 23
  148.         UNDELETING AND DUPLICATING RECORDS. .. . . . . . . . . . . . . . 24
  149.         EXECUTING DOS. . . . . . . . . . . . . . . . . . . . . . . . . . 25
  150.         APPENDIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
  151.                 Menu Function Keys. . . . . . . . . . . . . . . . . . . .26
  152.                 Field Editing Keys. . . . . . . . . . . . . . . . . . . .26
  153.                 Keys which work anywhere in C-BASE. . . . . . . . . . . .27
  154.                 Client Record Format. . . . . . . . . . . . . . . . . . .28
  155.                 C-BASE Files. . . . . . . . . . . . . . . . . . . . . . .28
  156.                 Database File Extensions. . . . . . . . . . . . . . . . .29
  157.                 TROUBLE SHOOTING GUIDE. . . . . . . . . . . . . . . . . .30
  158.                 Restoring a backed up database
  159.                 to Your Hard Disk . . . . .. . . . . . . . . . . . . . . 31
  160.         GLOSSARY . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
  161.  
  162.  
  163.  
  164.                      I N T R O D U C T I O N   T O  C - B A S E              1   
  165.  
  166.             
  167.  
  168.     C-BASE (Client database) is a database program for keeping records
  169.       containing names, addresses, phone numbers and remarks on up to
  170.       65,535 clients. C-BASE uses record index files and is 100% machine code
  171.       instructions for turbo speed.  It can also be used to print invoices or
  172.       mailing labels for these clients as well as writing customized output to a
  173.       DOS file to use as input to other software packages.  C-BASE is menu-
  174.       driven and easy to use with brief instructions at the bottom of the
  175.       screen to help you out.  C-BASE is designed to be used on an IBM PC
  176.       or clone running MS-DOS.  A hard disk drive is not necessary but
  177.       highly recommended.
  178.  
  179.  
  180.  
  181.                                   FEATURES OF C-BASE
  182.  
  183. -    Integrates with other software packages
  184.  
  185. -    Stores up to 65,535 client records
  186.  
  187. -    Sorts by Customer name, Reference number or Entered date
  188.  
  189. -    Searches for records by Customer name or Reference number
  190.  
  191. -    Uses index files for ultra-fast record retrieval
  192.  
  193. -    Creates customizable reports
  194.  
  195. -    Uses any number of C-BASE databases 
  196.  
  197. -    Re-builds file indexes automatically or manually
  198.  
  199. -    Includes all database functions: Add, View, Modify, Delete or Print
  200.         records
  201.  
  202. -    Provides ten (10) user defined list formats 
  203.  
  204. -    Lists output to Screen, Printer or DOS file
  205.  
  206. -    Transfers records from one C-BASE database to another
  207.  
  208. -    Renames or deletes any C-BASE database on disk
  209.  
  210. -    Backs up and compresses C-BASE databases
  211.  
  212. -    Customizes screen colors and miscellaneous program parameters to your
  213.         specifications
  214.  
  215. -    Displays your company name and the date and time at the top of every
  216.         screen
  217.                                                                              2
  218. -    Provides easy-to-use, menu driven screens with brief instructions at
  219.         the bottom line of the screen
  220.  
  221. -    Lists records in any desired range 
  222.  
  223. -    Shells to DOS
  224.  
  225. -    Restores (undeletes) deleted records and duplicates existing records
  226.  
  227. -    Searches for records from any character in any fields
  228.  
  229.                                  G E T T I N G    S T A R T E D              3
  230.  
  231.                                            
  232.                                    INSTALLING C-BASE
  233.  
  234.  
  235.     C-BASE may be installed in any existing directory.
  236.  
  237.  
  238.                                INSTALLATION INSTRUCTIONS
  239.  
  240. 1.    Start DOS on your computer.
  241.  
  242. 2.    Insert the C-BASE disk into Drive A.
  243.  
  244. 3.    Type cd \cbasedir (where cbasedir is the name of the directory where
  245.         C-BASE is to be installed).  4.   Type a:install and press ENTER.
  246.  
  247.     *If you wish to create a directory for C-BASE, see the MKDIR or MD
  248.         (Make directory) command in your DOS manual.
  249.  
  250. 4.    Type a:install and press ENTER.
  251.  
  252. 5.    Respond to the prompts as directed and press ENTER to install C-BASE
  253.     in the current directory.
  254.  
  255.     *If your computer has only one floppy and no hard disk drive then
  256.         installation is not necessary.  However, colors will have to be defined if
  257.         you have a color monitor (see Change Screen Colors under Customizing
  258.         C-BASE section).
  259.  
  260.  
  261.  
  262.                                     TO START C-BASE
  263.  
  264. 1.    If you have just completed the Install procedure above, your working
  265.         directory should now be the C-BASE directory; if not, type cd \cbasedir
  266.         (where cbasedir is the name of the directory in which you have chosen
  267.         to install C-BASE) and press ENTER.  
  268.  
  269. 2.    Type cbase and press ENTER. The Opening Screen will be displayed.
  270.  
  271.  
  272. Start a New Database
  273.  
  274. 3.    Move the DOWNARROW KEY to "Start a new database", then press ENTER
  275.         or type S. The Start a New Database Screen will be displayed.  
  276.  
  277. 4.    Select the default database CLIENTS or enter any database name 
  278.         (maximum 8 characters), then press ENTER.  This will create your
  279.         database file.
  280.  
  281.  
  282.                                           OR
  283.                                                                              4
  284. Start with an Existing Database
  285.  
  286. 3.    Select "Use existing database", then press ENTER or type U.  The Start
  287.         with an Existing Database Screen will be displayed with a menu of all
  288.         existing C-BASE databases (all files with extension ".DAT"). 
  289.  
  290.     *If you have more than 19 C-BASE databases, you can use the PGUP
  291.         and PGDN keys to scroll up or down. 
  292.  
  293.     *If no C-BASE database files exist, C-BASE will flash an error message
  294.         and display the Start a New Database Screen.
  295.  
  296. 4.    Use the UPARROW and DOWNARROW keys to highlight the desired
  297.         database and press ENTER.  The Main Menu Screen will be displayed.
  298.  
  299. 5.    At this point, you may wish to customize C-BASE to your specifications
  300.         (see Customizing C-BASE section).
  301.         
  302.                              A D D I N G  R E C O R D S                      5
  303.                                            
  304.  
  305.                                       ADD RECORDS
  306.  
  307. 1.    From the Main Menu Screen, select 1 or A: "Add one or more records to
  308.         database".  This selection will display the Record Input Screen.
  309.  
  310. 2.    Enter information following the prompts.  Press ENTER at the end of
  311.         each field entry (see Appendix for Field Editing Key explanation).
  312.  
  313.     *Please note that Customer name and Reference no. are required entries. 
  314.         All other fields are optional.
  315.  
  316.     
  317.     Customer name:    Entries may be up to 56 characters which may be any
  318.                         combination of letters, numbers, or symbols.
  319.  
  320.     Reference no.:    The initial default is the greatest RefNo in the
  321.                         database + 1.  Entries must be entirely numeric and
  322.                         must range between 1 and 65,535.  Successive inputs
  323.                         will automatically increment this value by one.  
  324.                         *This field can also be referred to by RefNo or
  325.                         Reference number.
  326.  
  327.     Business Phone    
  328.     Fax and Home:    Entries must be entirely numeric.  An optional 5 digit
  329.                         extension space is provided for business phone
  330.                         numbers.  Dashes are automatically inserted. 
  331.                         Additional phone numbers may be added under
  332.                         Remarks (see below).
  333.  
  334.         Address lines 1-3:   Entries may be up to 56 characters per line.
  335.     
  336.         Contact:          Entries may be up to 56 characters.
  337.  
  338.         Remarks:          Entries may be up to three lines of a maximum 56
  339.                           characters per line.
  340.                           
  341.                                   STORE RECORD                               6
  342.  
  343. 3.    Pressing ENTER after entering each field will automatically store the
  344.       record in the database.  However, you may store the record at anytime
  345.       by pressing the F1 key.  For example, if you wish to enter only the
  346.       Customer name, Reference number and Business phone number - press
  347.       the F1 key and the record will be stored in the database.
  348.  
  349.       *After the record is stored, the screen will be ready for you to enter
  350.       the next record.
  351.  
  352.       *The new default RefNo is the last RefNo stored in the database.
  353.     
  354. 4.    Press ESC at anytime to exit to the Main Menu Screen.
  355.  
  356.       *The Tot at the top right-hand side of the screen indicates the number
  357.       of records stored in the database including deleted records.
  358.  
  359.       *The Recs Used at the top right-hand side of the screen indicates the
  360.       number of records currently stored (excluding deleted records) in the
  361.       database.
  362.  
  363.       *The Record Number at the bottom of the screen indicates the physical
  364.       position in the database where the current record input will be stored.
  365.  
  366.  
  367.                             L I S T I N G  R E C O R D S                     7
  368.                                            
  369.  
  370.                      TO LIST RECORDS BY NAME, REFNO, OR ENTRY DATE
  371.  
  372.  
  373. 1.    From the Main Menu Screen, select 2 or L : "List records by Name,
  374.       RefNo or EntryDate".  This selection will display the List Records
  375.       Screen.
  376.  
  377.  
  378. 2.    Select the corresponding number of the parameter you wish to change (
  379.       0 - 2 ):
  380.  
  381.     SELECTIONS
  382.  
  383.     0 - Sort field:    
  384.     Records may be sorted by:
  385.  
  386.     1) Name  (Customer name)
  387.  
  388.     2) RefNo (Reference number)
  389.  
  390.     3) Date  (Entry date)
  391.  
  392.       *Press the SPACE BAR to display the next option or enter the first
  393.       letter of the field.  Press ENTER to change the range displayed or ESC
  394.       to return to the List prompt.
  395.  
  396.  
  397.     1) Name:  
  398.  
  399.       a)  If you wish to list all the records in the database sorted
  400.       alphabetically by Customer name, press the F1 key to accept the default
  401.       range: All.
  402.  
  403.       b)  If you wish to list a sub-range of the records in the database
  404.       sorted alphabetically by Customer name, enter the Min Name (up to 5
  405.       characters) and the Max Name (up to 5 characters).  Press ENTER  or
  406.       the F1 key.  
  407.  
  408.       For example, entering the range A to C will list all records with
  409.       Customer name starting with the letters A to C inclusive.
  410.  
  411.       *If Min and Max Name fields are both blank, all records will be listed.
  412.     
  413.  
  414.     2) RefNo:     
  415.  
  416.       a)  If you wish to list all the records in the database sorted
  417.       numerically by Reference number, press the F1 key to accept the
  418.       database range 1 to 65,535 (all records).
  419.                                                                              8
  420.       b)  If you wish to list a sub-range of the records in the database
  421.       sorted numerically by Reference number, enter the Min Reference
  422.       number and the Max Reference number. 
  423.  
  424.       For example, entering the range 100 to 150 will display all records
  425.       sorted numerically by Reference number within this range.
  426.  
  427.       *If you try to enter a Reference number less than 1 or greater than
  428.       65,535 a "Reference number out of range" error message will result.
  429.             
  430.  
  431.  
  432.     3) Date: 
  433.  
  434.       a)  If you wish to list all the records in the database entered on the
  435.       current day sorted chronologically, press the F1 key to accept the
  436.       default range of current date.
  437.  
  438.       b)  If you wish to list a sub-range of records in the database sorted
  439.       chronologically, enter the first or Min Entry date and the last or the
  440.       Max Entry date.  
  441.  
  442.       For example, entering the range 1990/08/29 to 1990/09/10 will inclusively
  443.       list in chronological order all records which have been entered between
  444.       these dates. 
  445.      
  446.                                                                              9
  447.     1 - Output format:
  448.     The records may be listed in any one of four formats: 
  449.  
  450.     1) Line
  451.  
  452.     2) Label1
  453.  
  454.     3) Label2
  455.  
  456.     4) DefFmt
  457.  
  458.  
  459.       *Press the SPACE BAR to display the next format or enter L for Label1,
  460.       2 for Label2, or D for DefFmt and press ENTER to select the format.
  461.  
  462.       1) Line:  Each record will be displayed on one line containing Customer
  463.       name, Reference number, Entry date and Record number.  
  464.  
  465.       2) Label1:  Customer name, Address, and Contact (if required) will be
  466.       displayed in a 1-inch label format.
  467.  
  468.       3) Label2:  Customer name, Address, and Contact (if required) will be
  469.       displayed in a 1.5-inch label format.
  470.  
  471.       4) DefFmt:  (Defined Format)  This is a format that you define.  You
  472.       can define or change the row and column where any record fields or
  473.       text can be displayed in the screen, in a file or on your printer and
  474.       save these values to a format file. This is  described under Selection 3
  475.       of the Utility Menu Screen: "Change default parameters"  (see section
  476.       on Defining List Format).
  477.  
  478.  
  479.     2 - Output device:    
  480.     There are three possible options under this selection: 
  481.  
  482.     1) Screen 
  483.  
  484.     2) Printer
  485.  
  486.     3) File
  487.  
  488.       *Press SPACE BAR to display the next option or enter the first letter of
  489.       the desired output device and press ENTER to select it.
  490.  
  491.       1) Screen:  The screen will display up to 23 lines of output at one time. 
  492.       After 23 lines, the message: "-- More -- Press any key to continue, ESC
  493.       to exit ..." will be displayed.  If you wish to continue listing, press any
  494.       key.  If you do not, press ESC and C-BASE will return to the List
  495.       Records Screen.  
  496.  
  497.       *At the end of the list, the screen will display "Press any key to
  498.       continue ...".  Press any key and the program will return to the List
  499.       Records Screen.
  500.       
  501.                                                                             10
  502.       2) Printer:  Please ensure that your printer is connected, switched on,
  503.       and on-line or an error message will flash on the screen (your printer
  504.       must be connected to port 1).
  505.  
  506.       3) File:  This option will send your output to a DOS file. The initial list
  507.       file is "DEFAULT.LST" which can be changed when selecting this option
  508.       or permanently (see Change Default Program Parameters section).  You
  509.       may enter any filename of up to 8 characters with an optional 3
  510.       character extension.
  511.  
  512.       3.  When the cursor is at the List prompt, press ENTER to begin list.
  513.     
  514.       *If File is selected and the requested file already exists, a message
  515.       asking if you wish to overwrite, append to the file and create a new
  516.       file with the listing (overwrite).  Selecting A will append the listing to
  517.       the file and ESC will cancel and return to the list prompt.             
  518.  
  519.       *If you selected Printer for Output device, a message to confirm that
  520.       the printer is on-line and ready will be displayed.  Press ENTER to
  521.       start or any other key to cancel print.
  522.       
  523.                           R E S T A R T I N G  C - B A S E                  11
  524.  
  525.  
  526.  
  527. 1.    From the Main Menu Screen, select 3 or R : "Restart program".
  528.  
  529. 2.    C-BASE will restart from the Opening Screen without re-initializing any
  530.       of the variables (this enables you to run C-BASE with another database
  531.       without having to exit the program).
  532.  
  533.                        S C A N N I N G  T H E  D A T A B A S E              12
  534.  
  535.  
  536.                                   FIND SCAN RECORD(S)
  537.  
  538.  
  539. 1.    From the Main Menu Screen, select 4 or S : "Scan database to View,
  540.       Modify, Delete or Print records".  This selection will display the Set
  541.       Scan Sort Field screen.
  542.  
  543.  
  544. 2.    The records to be scanned may be sorted by Customer name, Reference
  545.       number, or Entry date.
  546.  
  547.       Type N (Name), R (RefNo) or E (EntryDate) to make your selection.
  548.  
  549.                                           OR
  550.  
  551.       Press ENTER to select the default (the default appears at the top left-
  552.       hand corner of the screen just below your company name).
  553.  
  554.       *Your selection will appear at the top left-hand corner of the screen
  555.       and will become the new default.
  556.  
  557.  
  558. Sort by Name:
  559.  
  560. 3.    Press CTRL-HOME  or CTRL-END keys to find the first or last record
  561.       sorted alphabetically by Customer name (hold the CTRL key down while
  562.       pressing the HOME or END key).
  563.  
  564.  
  565.                                           OR
  566.  
  567.  
  568.       Type the first one or more characters in the Customer name.  
  569.  
  570.       *C-BASE does not distinguish between uppercase and lowercase
  571.       characters for name searching.
  572.  
  573.       Example:
  574.       You type M following the Customer name prompt.  C-BASE will find the
  575.       first record in which the Customer name starts with M.
  576.  
  577.       If no records with Customer name field starting with M exist, the screen
  578.       will flash the error message "Record does not exist" and display the
  579.       record alphabetically next in order.  If there is no record next in order
  580.       found, C-BASE will return to the Customer name prompt where you can
  581.       enter another name to search for or press ESC to exit to the Set Scan
  582.       Sort Field screen.
  583.  
  584.                                           OR
  585.  
  586.                                                                             13
  587.       Press the SPACE BAR to clear the default Customer Name then press
  588.       ENTER and you can enter the RefNo.  Use this option if you know the
  589.       RefNo, but not the Customer name, or you have several records with the
  590.       same Customer Name.  C-BASE will find the Customer name from the
  591.       RefNo and display the record.  The program will continue sorting by
  592.       Customer name.
  593.  
  594.  
  595. Sort by RefNo:
  596.  
  597.                                            
  598. 3.    Press CTRL-HOME or CTRL-END keys to find the first or last record
  599.       sorted numerically by Reference number (hold the CTRL key down while
  600.       pressing the HOME or END key).
  601.  
  602.                                           OR
  603.       
  604.       Type the Reference number.  If no record with this RefNo exists in the
  605.       database, the screen will flash a "Record does not exist" error message
  606.       and display the first record with RefNo greater than the entered
  607.       number.  If no record with RefNo greater than the entered number
  608.       exists, C-BASE will return to the RefNo prompt where you can enter
  609.       another RefNo or press ESC to return to the Set Scan Sort Field
  610.       screen. 
  611.  
  612.                                           OR
  613.  
  614.       Press the UPARROW key to enter the Customer name (this is in the
  615.       event that you know the Customer name, but not the Reference
  616.       number). 
  617.  
  618.       *C-BASE will find the Reference number from the Customer name field
  619.       and display the record.  The program will continue sorting by
  620.       Reference number.
  621.                                               
  622.       *The Reference number must be between 1 and 65,535 or an error
  623.       message will flash.
  624.  
  625.  
  626. Sort by EntryDate:
  627.  
  628. 3.    C-BASE locates records sorted by Entry date from the Customer name
  629.       or Reference number field.  Therefore, the screen will prompt for the
  630.       Customer name.  This is exactly like selecting a sort by Name record
  631.       above except that the records will be sorted in Entry date order
  632.       instead of Customer name order.
  633.  
  634.       To find the first or last record entered into the database, enter any
  635.       Customer name or Reference number then press the HOME or END key.
  636.       
  637.                                 SCAN DATABASE RECORDS                       14
  638.  
  639.  
  640. 1.    The Scan Records Screen will display the first record requested.  The
  641.       following options are available from this screen:
  642.       
  643.     (A)dd        (Type A to add the displayed record);
  644.     
  645.     (M)odify    (Type M to modify the displayed record);
  646.  
  647.     (D)elete    (Type D to delete the displayed record);
  648.  
  649.     (N)ew        (Type N to display a new record);
  650.  
  651.         (P)rint         (Type P to print the displayed record);
  652.  
  653.     (L)ist        (Type L to display the List Records Screen);
  654.  
  655.     (U)til        (Type U to display the Utility Menu);
  656.  
  657.     PGUP        (Type the PGUP key to display the next record in the
  658.                         field);
  659.  
  660.     HOME        (Type the HOME key to display the first record in the
  661.                         field);
  662.  
  663.     END        (Type the END key to display the last record in the field).
  664.  
  665.  
  666.     Add or Modify the record
  667.  
  668.       Move the cursor to the field that you wish to modify.  Type in the
  669.       modification using FIELD EDITING keys as necessary (see Appendix for
  670.       Field Editing Key explanation).
  671.  
  672.       Press the F1 key when the modification is completed.  If you choose to
  673.       modify the record, it will be stored in the database (only the RefNo
  674.       need be changed).  Or press ESC to cancel the modification and the
  675.       record will remain unchanged.
  676.  
  677.       *If you modify the record and change the RefNo to one that already
  678.       exists in the database, a "Duplicate Reference number" error will result
  679.       and the original RefNo will be re-displayed (the entered RefNo will
  680.       remain in an Add).
  681.  
  682.       Delete the record
  683.  
  684.       Type Y after the prompt "Confirm delete(Y/N)?".  Record will then be
  685.       deleted and the next record will be displayed.  Or type N and the
  686.       record will not be deleted.
  687.  
  688.       Display a new record
  689.  
  690.       This option will allow you to entr a new Customer name or Reference
  691.       number to search for (see Find Scan Record(s), above).
  692.       
  693.                                                                             15
  694.       Print the record
  695.  
  696.       The record will be printed according to the Output format value in the
  697.       List Records Screen (Line, Label1, Label2, or DefFmt,  see section on
  698.       Listing Records) and listed on the output device is File, C-BASE will
  699.       send the output to the file name specified.  If the file already exists, a
  700.       message asking if you wish to overwrite, append to the file or cancel
  701.       will be displayed at the bottom of the screen.
  702.  
  703.       Display the List Records Screen
  704.  
  705.       This option allows you to display the List Records Screen so that you
  706.       can list records, change the Sort field, change the Output format or
  707.       change the Output device or file name to list to. When you press ESC
  708.       to exit, C-BASE will return to the current record displayed in the Scan
  709.       Records Screen.
  710.  
  711.       Display the Utility Menu
  712.  
  713.       This option allows you to run any utility listed in the Utility Menu
  714.       (described in the following section).  After exiting the Utility Menu, C-
  715.       BASE will return to the current record displayed in the Scan Records
  716.       Screen.
  717.  
  718.       *Press HOME (or CTRL-HOME) or END (or CTRL-END) to display the first
  719.       or last record in the current Sort field.  Press ESC to return to the
  720.       Main Menu Screen. 
  721.       
  722.                   A C C E S S I N G  T H E  U T I L I T Y  M E N U          16
  723.  
  724.  
  725.                                    ACCESS UTILITIES
  726.  
  727.  
  728. 1.    From the Main Menu Screen, select 5 or U : "Utility Menu".  
  729.  
  730.  
  731.                             ADD ANOTHER DATABASE TO CURRENT
  732.  
  733.  
  734. 1.    From the Utility Menu Screen, select 1 or A : "Add another database to
  735.       current database". 
  736.  
  737. 2.    This selection allows you to add one or all records from another
  738.       database to the current database.  A menu of all C-BASE databases will
  739.       appear on the screen.  Select the database you wish to add to the
  740.       current database by using the UPARROW and DOWNARROW keys and
  741.       press ENTER.   
  742.  
  743.       *If you have more than 19 databases you may want to scroll up or
  744.       down a screen by using the PGUP or PGDN keys.
  745.  
  746.       *Selecting the current database (displayed at the top of the screen) will
  747.       result in an error.
  748.  
  749.  
  750. 3.    After selecting a valid database, C-BASE will request that you enter the
  751.       record number you wish to add or press ENTER to add the entire
  752.       database.                            
  753.  
  754.       If any records have the same Reference number as those in the current
  755.       database, a "Duplicate Reference number" error message will flash and
  756.       the record will not be added.  However, the record with the duplicate
  757.       Reference number will be displayed on the screen.
  758.  
  759.                                           OR
  760.  
  761.       Select a Record number from the add database to add to the current
  762.       database.  The record will be displayed in insert mode.  Press F1 to
  763.       add the record to the database as is, or modify the record (perhaps to
  764.       change the RefNo to avoid duplicates) and then press F1.  Or press ESC
  765.       and C-BASE will return to the Enter Record Number to Add Screen.
  766.  
  767.  
  768. 4.    If you choose to add the entire database, the screen will display the
  769.       number of records successfully added and the message "Press any key
  770.       to continue...".  Press any key to return to the Add a Database menu. 
  771.       You may now add another database, or press ESC to exit to the Utility
  772.       Menu Screen.
  773.  
  774.                         BACKUP AND COMPRESS CURRENT DATABASE                17
  775.  
  776.  
  777.       It is always good practice to keep a backup of your database and store
  778.       it on a floppy diskette.  If you do not do this and your database
  779.       becomes corrupted, you may lose valuable information which could take
  780.       many hours to re-enter back into the database. 
  781.  
  782. 1.    From the Utility Menu Screen, select 2 or B : "Backup and compress
  783.       current database".  This selection will display the Backup and Compress
  784.       Database Screen.
  785.  
  786.  
  787. 2.    Type the name of the backup database.  *This name must be different
  788.       from the current database or an error will result.  C-BASE will copy
  789.       the current database to the backup database compressing (excluding) all
  790.       deleted records (*normally deleted records remain in the database until
  791.       a new record is added into its physical record position).
  792.  
  793.       The message "Creating backup database and index files" will appear on
  794.       the screen.  When the backup has been completed, the message "Backup
  795.       database and index files successfully created" will flash.  The Utility
  796.       Menu Screen will then be displayed.
  797.  
  798.       *If you select a backup database which already exists, the message
  799.       "Database already exists, do you wish to overwrite (Y/N)?" will be
  800.       displayed.  Type Y to delete and replace the existing database.  Type N
  801.       to enter another backup database name.  Enter another database name
  802.       or press ESC to return to the Utility Menu Screen.
  803.  
  804.       *If you wish to backup your database to a floppy diskette for safe
  805.       keeping, select item 8 on the Utility Menu Screen, "Execute DOS" and
  806.       type: COPY name.DAT diskname (where name is the backup database
  807.       name and diskname is the diskname of your floppy disk drive, usually
  808.       A: or B:).   
  809.  
  810.       *To restore see section on Restoring a Backed up Database to Your Hard
  811.       Disk in the  Appendix.               
  812.       
  813.                          C U S T O M I Z I N G  C- B A S E                  18
  814.  
  815.  
  816. 1.    From the Utility Menu Screen, select 3 or C : "Change default
  817.       parameters".  This selection will display the Change Default Parameters
  818.       Screen. 
  819.  
  820.  
  821. 2.    There are three categories of program parameters which can be
  822.       changed:
  823.  
  824.                         1) Screen Colors        (Type C)
  825.             2) Program defaults    (Type P)    
  826.             3) Define list formats    (Type D)
  827.  
  828.  
  829.                                1 - CHANGE SCREEN COLORS
  830.  
  831.  
  832. 3.    From the Change Default Parameters Screen, select C : "Change Colors". 
  833.       This selection will display the Color Menu Screen. 
  834.  
  835.       *This selection is most effective if you have a color screen.
  836.  
  837. 4.    Use the UPARROW and DOWNARROW keys to make your selection, then
  838.       press F to change the foreground color or B to change the background
  839.       color of your selection (*the foreground or background mode will be
  840.       displayed at the top of the screen).
  841.                                            
  842.       Once you have made your selection, repeatedly press F, B or ENTER to
  843.       scroll through the possible colors (*there are sixteen foreground colors,
  844.       eight background colors and four screen background patterns).
  845.         
  846.       Example:
  847.  
  848.       To change the foreground color of the inside of the box, move the
  849.       cursor down to "3 - box inside color", then press F.  Keep pressing
  850.       the F key or ENTER until the desired color is reached. 
  851.  
  852. 5.    When you have made a suitable color selection, you can save the colors
  853.       by selecting S (Save current colors and exit).  C-BASE will have these
  854.       colors the next time it starts.  If you decide to cancel your color
  855.       selections, press R (Re-read in default colors).  You may also select M
  856.       (Mono screen default colors) to have C-BASE assign default mono-chrome
  857.       screen colors or C (Color screen default colors) to have C-BASE assign
  858.       default color screen colors.
  859.  
  860.       *Press ESC at any time to exit to the Change Default Parameters Screen.
  861.  
  862.  
  863.                                                                             19
  864.                          2 - CHANGE DEFAULT PROGRAM PARAMETERS
  865.  
  866.  
  867.       C-BASE has several default parameters it uses every time it starts. 
  868.       This option allows you to change some of these parameters and save
  869.       them to a file for C-BASE to read in at startup.
  870.  
  871. 3.    From the Change Default Parameters Screen, select P : "Program
  872.       defaults".   This selection will display the Change Program Defaults
  873.       Screen. 
  874.  
  875. 4.    If you change any of these parameters, you can save them to a file so
  876.       that every time you start C-BASE it will have the new parameters.  Just
  877.       enter the corresponding number of the parameter you wish to change,
  878.       type in the new value and press ENTER.  
  879.  
  880.       *To scan options in some parameters you can use the SPACE BAR (see
  881.       below).
  882.  
  883. 5.    When you have made the changes you want, press ENTER and the
  884.       following message will appear on the bottom line of the screen: "(S)ave
  885.       change, (U)se for this session, (C)ancel or ESC to exit".  Press S to
  886.       save the changes to a file so that the next time C-BASE is started it
  887.       will have the new parameters.  Or press U to use the new parameters
  888.       for only the current C-BASE session (changes are not saved).  Or press
  889.       C to cancel all the changes you have made and start over.  Or press
  890.       ESC to cancel the changes and return to the Change Default Parameters
  891.       Screen.
  892.  
  893.  
  894. The following default program parameters can be changed:
  895.  
  896.       0 - Company name:       
  897.       The name which appears at the top left-hand corner of the screen. 
  898.       Initially this parameter is set to "UNKNOWN COMPANY".
  899.  
  900.       1 - Database name:      
  901.       The name of the default database (highlighted) to start C-BASE.  If this
  902.       parameter is blank, the first database on the Start with an Existing
  903.       Database Screen menu will be highlighted.  Initially this parameter is
  904.       set to "CLIENTS". *Maximum length of this parameter is 8 characters.
  905.  
  906.       2 - Error message delay time:
  907.       The length of time in milliseconds that an error message is flashed on
  908.       the screen.
  909.  
  910.       3 - Message delay time:                 
  911.       The length of time in milliseconds that a non-error message (such as
  912.       "Record Inserted", "Record Deleted" etc.) is flashed on the screen.    
  913.       
  914.                                                                             20
  915.       4 - Date format:        
  916.       Dates can be displayed in the following formats: MM-DD-YY, DD-MM-YY
  917.       or YY-MM-DD.  Select the desired format using the SPACE BAR or type
  918.       M for MM-DD-YY, D for DD-MM-YY or Y for YY-MM-DD.  This parameter
  919.       is initially set to MM-DD-YY.
  920.  
  921.       5 - Sort field: 
  922.       This is the value of the Sort field when C-BASE starts.  It is displayed
  923.       just below your company name.  It can, however, be changed at any
  924.       time (see Scanning the Database section).  Use the SPACE BAR to
  925.       change this parameter or type N for Name, R for RefNo, D or E for
  926.       EntryDate.  This parameter is initially set to Name.
  927.  
  928.       6 - Display RefNo with leading:
  929.       Reference numbers can be displayed with or without leading zeros. 
  930.       Select whichever format you prefer.  Use the SPACE BAR to change this
  931.       parameter or type S for Spaces or Z for Zeros.  This parameter is
  932.       initially set to Spaces.
  933.        
  934.  
  935.       7 - List output format:
  936.       This is the value of Output format for listing records.  It can be
  937.       changed at any time (see Output format in Listing Records section). 
  938.       This parameter is initially set to Line.
  939.         
  940.       8 - List output device:
  941.       This is the value of Output device for listing records.  It can be
  942.       changed at any time (see Output device in Listing Records section). 
  943.       This parameter is initially set to Screen.
  944.     
  945.       9 - Execute DOS command:
  946.       If this parameter is blank, selection 8, "Execute DOS" on the Utility
  947.       Menu Screen will execute DOS from C-BASE.  Type "EXIT" when you wish
  948.       to return to C-BASE.  If you instead would like to execute a DOS command,
  949.       program or batch file from this menu selection, specify the DOS command
  950.       line here (see section on Executing DOS). 
  951.         
  952.       Example:
  953.  
  954.       To get a listing of all ".BAT" files in the C-BASE directory every time
  955.       selection 8 is chosen from the Utility Menu Screen, set this parameter to:
  956.       "DIR *.BAT".
  957.  
  958.  
  959.  
  960.                                3 - DEFINE A LIST FORMAT
  961.  
  962.  
  963.       C-BASE allows you to save up to 10 list format files.  Setting Output format
  964.       to DefFmt in the List Records Screen will list records in one of 10 possible
  965.       list formats which you defined and saved.
  966.       
  967.                                                                             21
  968. 3.    From the Change Default Parameters Screen, select D : "Define list format". 
  969.       This selection will display the Read in a List Format File Screen. 
  970.  
  971. 4.    If you have already defined a list format and saved it, you may type in
  972.       the number of the list format file for C-BASE to read in; if not, just press
  973.       ENTER. This will display the Define List Output Text Screen.
  974.  
  975. 5.    Printing the Current Date
  976.  
  977.       You can have the current date appear on the output listing.  The first parameter
  978.       you can define is the date.  First, type in the row and the column of where
  979.       you want the date to appear (use the RIGHTARROW key to get to the column
  980.       field) and press ENTER.  Select a date format using the SPACE BAR and
  981.       press ENTER.  
  982.  
  983.       *If you do not wish to have any date appear on the output listing, enter
  984.       0 for both row and column.
  985.  
  986.       Defining Text
  987.  
  988.       You can define up to eight lines of text.  First, type in the row and column
  989.       where the text is to appear on the output listing, press ENTER and type
  990.       in the text. 
  991.  
  992.       *You can use any field editing keys (see Appendix for Field Editing Key
  993.       explanation).
  994.  
  995.       *Use the "~" character to represent a form feed.
  996.  
  997. 6.    Press F1 to define the field positions (row and column) for each field in
  998.       the record or ESC to discard your changes and exit.  The Define List Field
  999.       Positions Screen will appear.
  1000.  
  1001. 7.    This screen will allow you to define the row and column where you want
  1002.       each field of the record to be located on the output listing.  If you do not
  1003.       want the field to be printed, then enter 0 for row and column.  Enter the
  1004.       row and column for each field, then press F1 when done or ESC to discard
  1005.       changes and exit.
  1006.  
  1007.       *When the cursor is at the Customer name field, you may return to the Define
  1008.       List Output Text Screen by using the UPARROW key if you wish to make
  1009.       further changes to text.
  1010.  
  1011. 8.    After pressing F1, the following message will appear at the bottom line of
  1012.       the screen: "(S)ave change, (U)se for this session, (C)ancel or ESC to exit".
  1013.       Type S to save your defined list format to a file.  The message "File number
  1014.       (0-9)?" will appear at the bottom of the screen.  Select any number between
  1015.       0 and 9.  If the file already exists, C-BASE will ask if you want it to be
  1016.       replaced.  If you enter Y, C-BASE will replace it, N and you may enter another
  1017.       number to save the file under.
  1018.  
  1019.       *Please note 0 is the default list format file which C-BASE initially reads
  1020.       in.  To change the default file 0 to a new file without losing it, first save
  1021.       file 0 to any file from 1 to 9 before creating your new default file.
  1022.       If you type U, nothing is saved but the newly defined list format will be
  1023.       in effect (this is useful if you are trying see how different formats look
  1024.       so that once you have decided on the one that you want, you can save it). 
  1025.       
  1026.  
  1027.       If you type C to cancel, C-BASE will cancel all of your changes but will
  1028.       return to the Define List Output Text Screen.
  1029.  
  1030.       If you press ESC, C-BASE will return to the Change Default Parameters Screen
  1031.       without changing anything. 
  1032.  
  1033.              D E L E T I N G  A N D  R E N A M I N G  D A T A B A S E S     21
  1034.  
  1035.  
  1036. 1.    From the Utility Menu Screen, select 4 or D : "Delete or Rename a database". 
  1037.       This selection will display the Delete or Rename a Database Screen.
  1038.  
  1039.  
  1040. 2.    Select D to delete any C-BASE database or R to rename any C-BASE database.
  1041.  
  1042.  
  1043.  
  1044.                                    DELETE A DATABASE
  1045.  
  1046.  
  1047. 3.    This selection will display the Delete a Database Screen. 
  1048.  
  1049. 4.    This selection allows you to delete any C-BASE database in the C-BASE
  1050.       directory.  A menu of all C-BASE databases will appear on the screen.  Select
  1051.       the database you wish to delete by using the UPARROW and DOWNARROW
  1052.       keys and press ENTER.  
  1053.  
  1054.       *If you have more than 19 databases you may want to scroll up or down
  1055.       a screen by using the PGUP or PGDN keys.
  1056.  
  1057. 5.    A message to confirm deletion of the chosen database file will be displayed. 
  1058.       If you type Y to confirm, C-BASE will delete the database.  If you type
  1059.       N, the database will not be deleted.  C-BASE will then return to the Delete
  1060.       a Database Screen.  Press ESC if you wish to return to the Utility Menu
  1061.       Screen.
  1062.  
  1063.       *If you chose the current database to delete, C-BASE will return to the
  1064.       Opening Screen after the deletion.  
  1065.  
  1066.  
  1067.  
  1068.                                    RENAME A DATABASE
  1069.  
  1070.  
  1071. 3.    This selection will display the Rename a Database Screen.
  1072.  
  1073. 4.    This selection allows you to rename any C-BASE database in the C-BASE
  1074.       directory.  A menu of all C-BASE databases will appear on the screen.  Select
  1075.       the database you wish to rename by using the UPARROW and DOWNARROW
  1076.       keys and press ENTER.  
  1077.  
  1078.       *If you have more than 19 databases you may want to scroll up or down
  1079.       a screen by using the PGUP or PGDN keys.
  1080.  
  1081. 5.    C-BASE will display a screeen requesting the new name for the database. 
  1082.       Enter the new name and the database will be renamed.  If you chose a database
  1083.       name which already exists, C-BASE will flash an error message and allow
  1084.       you to enter another name.  C-BASE will then return to the Rename a Database
  1085.       Screen.  Press ESC if you wish to return to the Utility Menu Screen. 
  1086.       
  1087.                       R E B U I L D I N G  I N D E X  F I L E S             22
  1088.  
  1089.  
  1090.       C-BASE databases have three index files to keep track of information, a
  1091.       Name, RefNo and Date index file is kept for each database.  Index files tell
  1092.       C-BASE where a record is stored in the database file so that it can be retrieved
  1093.       very quickly.  Sometimes the information from one index file does not agree
  1094.       with the information in another.  System failures, poorly formatted disks,
  1095.       power glitches, etc. can all be possible causes.  When rebuilding the index
  1096.       files, C-BASE reads each record from the database file and creates an index
  1097.       file to point to that record. file(s) be deleted accidently, this routine may
  1098.       be used to recreate them.
  1099.  
  1100. 1.    From the Utility Menu Screen, select 5 or R : "Rebuild index files for current
  1101.       database".  The message "Rebuilding Index Files" will appear at the center
  1102.       of the screen.  When the rebuild is complete, the message "Index files successfully
  1103.       created" will appear at the bottom of the screen and C-BASE will return
  1104.       to the Utility Menu Screen.
  1105.  
  1106.       Example:
  1107.  
  1108.       If when you list all records sorted by Name, you notice a record which is
  1109.       not found when listing all records sorted by RefNo, then rebuilding the
  1110.       index files should correct the problem.
  1111.  
  1112.       *If C-BASE encounters two records in the database file with the same Reference
  1113.       number, a "Duplicate Reference number" error message will flash at the bottom
  1114.       of the screen and the second record will not be inserted into any index
  1115.       files.  However, the record will be listed on the screen with its RefNo and
  1116.       its record numbeer.  To correct this problem, either change the RefNo of
  1117.       the record that was inserted by scanning for the RefNo and then modifying
  1118.       it, or delete this record and rebuild the index files again.
  1119.  
  1120.       *It is a good idea to rebuild the index files once in a while to maintain data
  1121.       integrity.  Moreover, should any index file(s) be deleted accidentally, this
  1122.       routine may be used to recreate them.
  1123.  
  1124.       *If you start C-BASE with a database which is missing an index file, an
  1125.       error message will flash and this routine will automatically execute. 
  1126.  
  1127.                           S P E C I A L  S E A R C H I N G                  23
  1128.  
  1129.  
  1130.       This feature is useful if you wish to find a record or records where you
  1131.       know some information in one or more fields but not enough to scan for
  1132.       Customer name or Reference number.
  1133.  
  1134. 1.    From the Utility Menu Screen, select 6 or S : "Special Search".  This selection
  1135.       will display the Special Search Screen. 
  1136.  
  1137. 2.    Type any characters in any of the fields anywhere in the record.  C-BASE
  1138.       will search all records in the database until it finds a record which matches
  1139.       the characters in the positions you have specified (*C-BASE does not distinguish
  1140.       between upper and lower case letters for this search).  When C-BASE finds
  1141.       a match, the record will be displayed with the message to continue.  If you
  1142.       type Y, C-BASE will search for the next match.  If you type N, C-BASE will
  1143.       allow you to enter a new search record or press ESC to return to the Utility
  1144.       Menu Screen.  If C-BASE cannot find any more records, the message "No
  1145.       more records.  Press any key to continue, ESC to exit..." will be displayed. 
  1146.       If you press any key other than ESC, C-BASE will allow you to search for
  1147.       another record.  Press ESC to return to the Utility Menu Screen.
  1148.  
  1149.       Example:
  1150.  
  1151.       You want to list all client records with Ottawa area addresses having Reference
  1152.       numbers which start with "001".  Type "001  " for the Reference no. field
  1153.       and "613" for the area code portion of the Phone number field from the
  1154.       Special Search Screen.  C-BASE will search through the database until it
  1155.       finds a record which matches this criteria.
  1156.       
  1157.             U N D E L E T I N G  &  D U P L I C A T I N G  R E C O R D S    24
  1158.  
  1159.  
  1160.       If you accidently delete a record, you can restore it if no new records have
  1161.       been added since the deletion.  This routine can also be used to duplicate
  1162.       non-deleted records (after first changing the RefNos to avoid RefNo duplication.
  1163.  
  1164. 1.    From the Utility Menu Screen, select U or 7 : "Undelete a previously deleted
  1165.       record".  This selection will display the List Records Screen with the Sort
  1166.       field set to "Deleted" (see Listing Records section to view the List Records
  1167.       Screen).
  1168.  
  1169.       *You can only get this Sort field value from this menu item.  
  1170.  
  1171. 2.    Press ENTER from the list prompt to display all deleted records which can
  1172.       be restored.  Make note of the RecNo (record number) of each record you
  1173.       wish to restore.
  1174.                                           OR
  1175.  
  1176.       If you know the Record number of the record you wish to restore or duplicate,
  1177.       press ESC to avoid the listing.
  1178.  
  1179.       *You may change the Sort field from Deleted to Name, RefNo or Date to determine
  1180.       the record numbers of the records you wish to duplicate.
  1181.  
  1182. 3.    The message "Press any key to continue... " will be displayed on the last
  1183.       line after the list.  Press any key and the Enter record number you wish
  1184.       to restore screen will be displayed.
  1185.  
  1186.     
  1187. Enter the RecNo (record number) you wish to restore or duplicate and C-BASE
  1188. will display the record in insert mode.  Press F1 and the record will be added
  1189. to the database.  If the Reference number of this record already exists in the
  1190. database, a "Duplicate Reference Number" error will flash on the screen. Either
  1191. change the RefNo and then press F1 or press ESC to exit.  The Enter record number
  1192. you wish to restore screen will be re-displayed and you can try entering another
  1193. RecNo to restore or press ESC to exit to the Utility Menu Screen.
  1194.  
  1195.                               E X E C U T I N G  D O S                      25
  1196.  
  1197.  
  1198. 1.    From the Utility Menu Screen, select E or 8 : "Execute DOS".  If you defined
  1199.       an Execute DOS command, it will be executed (see Changing Default Program
  1200.       Parameters in the Customizing C-BASE section).  If not, C-BASE will execute
  1201.       DOS.  Type "EXIT" from DOS to return to C-BASE. 
  1202.  
  1203.       *Note the characters "{C-BASE}" added to your DOS prompt.  This is to remind
  1204.       you that you are running DOS under C-BASE.
  1205.  
  1206.       *Also C-BASE takes up a considerable amount of memory so that some
  1207.       programs may not load if memory is insufficient.
  1208.  
  1209.                                    A P P E N D I X                          26
  1210.  
  1211.  
  1212.                                   MENU FUNCTION KEYS
  1213.                
  1214.   Key                    Function    
  1215.  
  1216. CURSORDOWN                      Highlight next menu item
  1217.  
  1218. CURSORUP            Highlight previous menu item
  1219.  
  1220. END                Highlight last menu item
  1221.  
  1222. HOME                Highlight first menu item
  1223.  
  1224. PGDN                Scroll to next menu page 
  1225.  
  1226. PGUP                Scroll to previous menu page
  1227.  
  1228. ESC                End menu and display previous menu or exit
  1229.  
  1230. ENTER                           Select highlighted menu item
  1231.  
  1232. Key Number            Highlight and execute numbered menu item
  1233.  
  1234. Key Letter            Highlight and execute letter menu item
  1235.  
  1236.  
  1237.       *Note: PGUP and PGDN keys will not work unless there are more than 19
  1238.       items in the menu.
  1239.  
  1240.  
  1241.                                   FIELD EDITING KEYS
  1242.                  
  1243.   Key                    Function
  1244.  
  1245. CTRL-BKSP            Clear field  
  1246.  
  1247. BKSP                Delete character to the left of cursor
  1248.  
  1249. F1                Update record or store entered information
  1250.  
  1251. DEL                Delete character under cursor
  1252.  
  1253. LEFTARROW            Move cursor one position to the left
  1254.  
  1255. RIGHTARROW            Move cursor one position to the right
  1256.  
  1257. INS                Insert one space at the cursor position
  1258.  
  1259. HOME                Go to the first position in field
  1260.  
  1261. END                Go to the last character position in the field
  1262.  
  1263. UPARROW                         Go to the previous field item
  1264.  
  1265.                                                                             27
  1266. DOWNARROW            Go to the next field item
  1267.  
  1268. ENTER                           Enter field data into record and go to next 
  1269.                                 field item
  1270.  
  1271. CTRL-LEFTARROW                  Clear field to the left of cursor
  1272.  
  1273. CTRL-RIGHTARROW                 Clear field to right of cursor
  1274.  
  1275. ESC                Exit and leave record unchanged
  1276.  
  1277.             
  1278.                                   ANYWHERE IN C-BASE
  1279.  
  1280.   Key                    Function
  1281.  
  1282. CTRL-BREAK            Abort C-BASE and return to DOS
  1283.  
  1284.  
  1285.         *Note: Dash signifies two keys pressed simultaneously.
  1286.         
  1287.                              CLIENT RECORD FORMAT                           28
  1288.  
  1289.  
  1290. Record field name     Description                Required  Length  Valid Chars
  1291.  
  1292. Customer name      Client or company name             Yes     56      Any
  1293.  
  1294. Reference no.      Customer reference number          Yes      5      Numeric
  1295.  
  1296. Bus Phone + ext.   Customer business phone no. & ext. No      15      Numeric
  1297.  
  1298. Fax                Customer fax phone number          No      10      Numeric
  1299.                                                                   
  1300. Home               Customer home phone number         No      10      Numeric
  1301.  
  1302. Address lines 1-3  Customer mailing address           No      56x3    Any
  1303.  
  1304. Contact            The person to contact              No      56      Any
  1305.  
  1306. EntryDate          Automatically inserted             No       8      NA
  1307.  
  1308. Remarks 1-3        3 lines for additional info        No      56x3    Any
  1309.  
  1310.  
  1311.  
  1312.                                      C-BASE FILES
  1313.  
  1314.  
  1315. File name        Description
  1316.  
  1317. CBASE.DEF        The initial default program parameters
  1318.  
  1319. CBASE.DOC        This documentation
  1320.  
  1321. CBASE.EXE        The C-BASE executable program
  1322.  
  1323. COLORS.DEF        The initial default program colors
  1324.  
  1325. INSTALL.EXE    The program used to install C-BASE
  1326.  
  1327. LSTFMT(0-9).DEF    The list format field position file
  1328.  
  1329. LSTTEXT(0-9).DEF    The list format output text definitions 
  1330.  
  1331.                               DATABASE FILE EXTENSIONS                      29
  1332.  
  1333. A C-BASE database consists of four files (1 data file and 3 index files) all having
  1334. the database name you have chosen from C-BASE with the following extensions:
  1335.  
  1336. File extension            Description
  1337.  
  1338. .DAT            The database file
  1339.  
  1340. .IXN            The Name (Customer name) index file
  1341.  
  1342. .IXR            The RefNo (Reference number) index file
  1343.  
  1344. .IXD            The Date (Entry date) index file
  1345.  
  1346.                                TROUBLE SHOOTING GUIDE                       30
  1347.  
  1348.     
  1349. This section describes what to do if you should happen to run into a problem.
  1350.  
  1351. 1)    If you cannot exit from somewhere
  1352.       If you find that C-BASE is not acknowledging your command to exit from
  1353.       some routine in the program, press CTRL-BREAK (hold the CTRL key down
  1354.       while pressing the BREAK key) and C-BASE will abort immediately.
  1355.  
  1356. 2)    If you get a "Turbo Access Error" 
  1357.       Usually these errors occur if your database file is corrupted or your disk
  1358.       is full.  Even though all the routines in this program have been thoroughly
  1359.       tested, it is possible something was missed.  This error message should include
  1360.       the name of the database or index file which caused the error.  The problem
  1361.       may be resolved by deleting the index file forcing an index file rebuild the
  1362.       next time you start C-BASE or by backing up the database (if the problem
  1363.       occurs after accessing a particular record) and using the backup database
  1364.       instead of the original.  If the problem occurs on entry to C-BASE then
  1365.       you must use a backup copy of your database.  If the problem is not due
  1366.       to a corrupted database file or your disk, please contact Custom Computing
  1367.       Solutions and we will be happy to assist you.
  1368.  
  1369. 3)    If your database becomes corrupted
  1370.       If for some reason C-BASE cannot read your database data file, then it has
  1371.       probably become corrupted or replaced by another file.  In either case,
  1372.       if you have not previously done a backup of your database, you will have
  1373.       to re-enter all data manually back into the database.  Otherwise you can
  1374.       run C-BASE with your backup database.  If your backup database is on
  1375.       a floppy diskette, then perform the following procedure to copy it to your
  1376.       hard disk:
  1377.  
  1378.                   RESTORING A BACKED UP DATABASE TO YOUR HARD DISK          31
  1379.  
  1380.       If you backed up your C-BASE database to a floppy diskette as described
  1381.       in the section on Backup and Compress Current Database and you wish to
  1382.       restore, then perform the following steps:
  1383.  
  1384. 1)    Start DOS on your computer.
  1385.  
  1386. 2)    Insert the backup diskette into drive A.
  1387.  
  1388. 3)    Type COPY A:name.DAT C:\cbasedir. 
  1389.  
  1390.       where: 
  1391.         name            is the backup database name
  1392.  
  1393.         cbasedir        is the name of your C-BASE directory 
  1394.  
  1395.         C               is your hard disk letter
  1396.  
  1397.       *Please note that when you start C-BASE with this database, the Rebuild
  1398.       Index Files routine will automatically be called to rebuild the index files
  1399.       for this database since these files were not saved.  
  1400.  
  1401.       *Also it is recommended that the corrupted database be deleted once the
  1402.       backup is in use (see section on Deleting and Renaming Databases).
  1403.       
  1404.                                G L O S S A R Y                              32
  1405.  
  1406.  
  1407.     Character
  1408.       A letter, digit, space or any special symbol.
  1409.  
  1410.     Corrupted
  1411.       When the structure of the database file is no longer intact, it is said that
  1412.       the database is corrupted.  Power failures or glitches, full disks, system
  1413.       failures, etc. can cause this problem.  When this happens, the database is
  1414.       no longer usable and you must resort to a backup. 
  1415.  
  1416.     Current directory
  1417.       The directory in which you are working.
  1418.  
  1419.     Cursor 
  1420.       The flashing rectangular box on the screen marking the area where typed
  1421.       data will appear.
  1422.  
  1423.     Data
  1424.       Information coded and structured for processing by a computer.  This
  1425.       information could reside on disk or in memory.
  1426.  
  1427.     Database
  1428.       The file where all data records are stored and retrieved.
  1429.  
  1430.     Default 
  1431.       The value of a variable at the start of the program.
  1432.  
  1433.     Delete 
  1434.       Mark record in the database as not in use.
  1435.  
  1436.     Disk
  1437.       A diskette or hard disk.
  1438.  
  1439.     Diskette
  1440.       A single or double sided 5 1/4 or 3 1/2 inch floppy disk.
  1441.  
  1442.     DOS 
  1443.       The Disk Operating System is the software that tells the computer what to
  1444.       do (when you first power up, your computer will be running DOS).
  1445.  
  1446.     EntryDate or Entry date
  1447.       An eight (8) character field containing the system date when the record
  1448.       was entered into the database (the system automatically enters this value).
  1449.  
  1450.     Field 
  1451.       One element of a record (e.g. Customer name, Reference number, and Phone
  1452.       number are all fields). 
  1453.  
  1454.     File
  1455.       A named collection of data stored on disk.
  1456.       
  1457.                                                                             33
  1458.     Hard disk
  1459.       A sealed data storage device built into a computer.  A hard disk can store
  1460.       many times more information than a floppy disk.
  1461.  
  1462.     Index File 
  1463.       A file which links record field information to the record number where it
  1464.       is stored (e.g. the Name index file contains the Customer names and the
  1465.       record numbers where they are stored in the database).  This file is sorted
  1466.       alphabetically so that records are retrieved very quickly.
  1467.  
  1468.     Memory 
  1469.       The area where a computer temporarily stores data (usually referred to as
  1470.       RAM or Random Access Memory).
  1471.  
  1472.     Menu 
  1473.       A selection of options listed on the screen, of which one must be chosen.
  1474.  
  1475.     Printer
  1476.       An output device which prints out characters or graphic symbols on paper.
  1477.  
  1478.     Record 
  1479.       All of the information relating to one client (see section on Client Record
  1480.       Format in the Appendix for a description of the fields of a C-BASE record).
  1481.  
  1482.     Record number 
  1483.       The physical position in the database file where the record is located.
  1484.  
  1485.       Recs: Tot and Used 
  1486.       Tot:    The total number of records in the database. 
  1487.       Used:   The difference between Tot and the number of deleted records.
  1488.  
  1489.     RefNo
  1490.       The Reference number field associated with any C-BASE record (this number
  1491.       can range from 1 to 65,535).
  1492.  
  1493.     Sort field
  1494.       The field by which the records will be sorted (either Name, RefNo or
  1495.       EntryDate).  This value is displayed at the top left-hand corner of the screen
  1496.       under your company name.
  1497.  
  1498.     String
  1499.       A group of one of more characters in text form.
  1500.  
  1501.     Update 
  1502.       Store the modified information.
  1503.  
  1504.     Value 
  1505.       A quantity (numeric, character or string) assigned to a variable.
  1506.     
  1507.     Variable 
  1508.       An identifier associated with a storage location in memory which has a value
  1509.       that can be changed.
  1510.  
  1511.                                            
  1512.